package nr.nodehost.model;

import lombok.Data;

@Data
public class Component {
	public static final int PROGRAM_EXECUTE_COMPONENT=4;
	public static final int NET_OUTPUT_COMPONENT=3;
	public static final int NET_DATA_COMPONENT=2;
	public static final int FILE_DATA_COMPONENT=1;
	public static final int ALGORITHM_COMPONENT=0;
	
	private String id;
	private String name;
	private String description;
	private int type;// component type, e.g. net file or algorithm 
	private int inputNumber;
	private int outputNumber;
	private String json;
	private String zipFile;//component package file
	private String initializeFunction;
	private String processFunction;
	private String terminateFunction;
	private int runMode;
	private int categoryId;//category in component lib
	private int runEnvironment;// mode for component, e.g. matlab-C lib, matlib gpu, c-cup

}
